package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.PaymentBill;
import cn.wolfcode.crm.domain.SaleAccount;

import java.util.List;

public interface SaleAccountMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SaleAccount record);

    SaleAccount selectByPrimaryKey(Long id);

    List<SaleAccount> selectAll();

    int updateByPrimaryKey(SaleAccount record);

    SaleAccount selectByAllId(PaymentBill paymentBill);
}